import request from '@/utils/request'

export default {
  //查询所有讲师带分页
  getTeacherList(page,limit) {
    return request({
      url: `/eduservice/teacherfront/getTeacherFrontList/${page}/${limit}`,
      method: 'get',
    })
  },
  //查询讲师的信息和所教的课程
  getTeacherFrontInfo(teacherId) {
    return request({
      url: `/eduservice/teacherfront/getTeacherFrontInfo/${teacherId}`,
      method: 'get',
    })
  },
}
